package com.mvc.service.impl;

import com.mvc.entity.ShopCar;
import com.mvc.mapper.ShopCarMapper;
import com.mvc.model.Gwc;
import com.mvc.service.ShopCarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName ShopCarServiceImpl
 * @Description TODO
 * @Author king
 * @Date 2021/11/27 21:09
 * @Version 1.0
 **/
@Service
public class ShopCarServiceImpl implements ShopCarService {
    @Autowired
    private ShopCarMapper shopCarMapper;
    @Override
    public List<ShopCar> listSearch(Integer startRow, Integer limit) {

       return shopCarMapper.listSearch(startRow,limit);
    }

    @Override
    public Integer getCount() {

        return shopCarMapper.getCount();
    }

    @Override
    public Integer insert(ShopCar ShopCar) {

        return shopCarMapper.insert(ShopCar);
    }

    @Override
    public Integer update(ShopCar ShopCar) {

        return shopCarMapper.update(ShopCar);
    }

    @Override
    public Integer del(Integer id) {

        return shopCarMapper.del(id);
    }

    @Override
    public List<Gwc> search(Gwc gwc) {
        return shopCarMapper.search(gwc);
    }

    @Override
    public Integer Gupdate(Gwc gwc) {
        return shopCarMapper.Gupdate(gwc);
    }

    @Override
    public Integer Gdel(Integer id) {
        return shopCarMapper.Gdel(id);
    }


}
